package com.epam.repository;

import com.epam.Entity.OrderItem;
import com.epam.Entity.VipRule;
import com.epam.Model.OrderItemModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public interface OrderItemRepository extends JpaRepository<OrderItem,Integer> {

    List<OrderItem> findAllByOrderId(String orderId);

}
